from django.shortcuts import render,render_to_response
from django.template import loader,RequestContext
def custom_proc(request):
    return {
        'app':'My App',
        'user':request.user,
        'ip_address':request.META['REMOTE_ADDR']
    }
def view_1(request):
    return render_to_response('app/template1.html',{'message': 'I am view 1.'},
                              context_instance=RequestContext(request) #processors=[custom_proc])
                              )
# Create your views here.
